/**
 * Created by ZE-C on 2017/8/12.
 */

import { Pipe, PipeTransform } from '@angular/core';

@Pipe({name: 'ToNum'})
export class ToNumPipe implements PipeTransform {
  transform(value: string): number {
    return 1000000+ parseInt(value);
  }
}

